.field-box {
  position: relative;
  width: 100%;
  max-width: 750rpx;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding: 30rpx 40rpx;
  background-color: #fff;

  .field-label__required:before {
    color: red;
    content: '*';
    margin-right: 2px;
  }

  .field-label {
    flex: 1 1 0%;
    position: relative;
    min-width: 2em;
    height: 100%;
    margin-right: 20rpx;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;

    .field-left__icon {
      width: calc(var(--amplified_base) * 40rpx);
      height: calc(var(--amplified_base) * 40rpx);
    }

    .field-label__text {
      width: 6em;
    }
  }

  .input-placeholder {
    color: #cccccc;
  }

  .field-textarea {
    height: 3em;
    &::placeholder {
      color: red;
    }
  }

  .field-value {
    flex: 1 1 0%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .pointer-events {
    pointer-events: none;
  }

  .field-value__control {
    line-height: 1.2;
    position: relative;
    flex: 1;
    width: 100%;
    min-width: 2em;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .field-value__readonly {
    width: 100%;
  }

  .inp {
    width: 100%;
    height: auto;
    min-height: auto;
    line-height: inherit;
    font-size: inherit;
  }

  .field-clearable {
    margin-left: 8rpx;
    padding: 0 10rpx;
    color: #fff;
    font-size: calc(var(--amplified_base) * 24rpx);
    background-color: #999;
    width: 40rpx;
    height: 40rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
}
